package com.linsen.core.jetcache.props;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;

/**
 * @author zhaoyong
 * @date 2023/3/20
 */
@Data
@RefreshScope
@ConfigurationProperties(prefix = "linsen.jetcache")
public class LinsenJetCacheProperties {
    private String redisHost = "localhost";

    private Integer redisPort = 6379;

    private String redisPassword = "";

    private Integer redisDatabase = 0;
}
